#include<iostream>

using namespace std;

int main()
{
    int arr[5] = {1,2,3,4,5};
    cout << "第一个:" << arr[0] << endl;
    
    int *p = arr;
    cout << "第一个:" << *p << endl;
    cout << "第二个:" << *(p+1) << endl;
    p++;
    cout << "第2个:" << *p << endl;

    int *q = arr;
    for (int i = 0; i < 5; i++)
    {
        cout << *q << endl;
        q++;
    }
    
    
    return 0;
    
}